-
Home
-
Advanced Product Fields (Product Addons) for WooCommerce
-
1.4.6
-
Code
-
Classes
- Fields
Total Complexity |
70 |
Dependencies |
4 |
Dependents |
1 |
Total lines |
503 |
Lines of code |
416 |
Logical lines of code |
131 |
Comment lines |
0 |
Methods |
13 |
Properties |
0 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_field_options() |
A |
31 |
4 |
179 |
is_valid_rule() |
A |
52 |
11 |
22 |
sanitize_value() |
A |
52 |
10 |
20 |
sanitize_raw_value() |
A |
56 |
9 |
15 |
pricing_value() |
A |
54 |
8 |
20 |
value_to_string() |
S |
52 |
7 |
22 |
get_field_types() |
S |
39 |
1 |
91 |
get_raw_field_value_from_request() |
S |
67 |
6 |
6 |
should_field_be_filled_out() |
S |
63 |
5 |
11 |
is_field_value_valid() |
S |
66 |
4 |
9 |
validate_rules() |
S |
67 |
3 |
7 |
get_pricing_options() |
S |
61 |
1 |
11 |
do_pricing() |
S |
79 |
1 |
3 |